/**
 *
 */
package com.jprocms.module.cms.controller.admin.sitetpl.dto;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 模板、资源重命名Dto
 *
 * @author jprocms
 */
public class TplRenameDto implements Serializable {

    @Schema(description = "原文件名称 相对路径，带后缀", required = true)
    private String fileName;

    @Schema(description = "更改后文件名称 相对路径，带后缀", required = true)
    private String newName;

    @NotBlank
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    @NotBlank
    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }

}
